#!/bin/sh

strap() {
    echo "cat ${HOME}/dotfiles/backup/$* | xargs sudo xbps-install -Sy"
    cat ${HOME}/dotfiles/backup/$* | xargs sudo xbps-install -Sy
}

file='sysbootstrap'

case $1 in
    -u) file='usrbootstrap'
esac
strap ${file}